package cn.tedu.property_management_system.service;

import cn.tedu.property_management_system.entity.Property;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface IPropertyService {
    void insert(@RequestBody Property property);

    List<Property> select();

    List<Property> searchSelect(@RequestBody Property property);

    List<Property> searchSelects(@RequestBody Property property);

    void update(@RequestBody Property property);

    void delete(@RequestBody Property property);

    int deletes(@RequestBody List<Property> list);
}
